﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization; // this is required

namespace DomainModel
{
    [DataContract]
    public class Order
    {
        [DataMember]
        public int order_id = 0;
        [DataMember]
        public int customer_id = 0;
        [DataMember]
        public double total_price = 0;
        [DataMember]
        public DateTime date_created = DateTime.Now;
        [DataMember]
        public int is_ordered = 0;
    }
}